/**
 * Created by Administrator on 2018/9/4 0004.
 * 可以将枚举信息都放在这里
 */

/**
 * http请求返回的状态码枚举
 */
export enum HttpCodesEnum {
  Success = '0000', //返回成功
  ServerError = '9999', //服务端报错
  logout = '9001', //已退出登录
}

/**
 *获取枚举信息的传入状态码枚举
 */
export enum Enums {
  state = 1010,  // 状态
  sync = 1007, //同步状态
  boxStock = 1008, //箱库存状态
}

export enum StaffStates {
  hire = "Hire",//入职
  leave = "Leave",//离职
}

export enum BoxStates {
  storage = "Storage",//入库
  issue = "Issue",//已出库
}

//同步状态
export enum SyncStates {
  ready = "Ready",//准备同步
  sync = "Sync",//同步中
  error = "Error",//同步错误
  synced = "Synced",//已经同步
}
